package com.tbit.uqbike.client.pojo;

import com.tbit.uqbike.client.constant.MachineStateConstant;

import java.util.Date;
import java.util.Objects;

/**
 * @Author: chen
 * @Description: 设备功能表
 * @Date: 创建于 16:41 2020/6/2
 */
public class MachineFunction {
    /**
     * 设备id
     */
    private Integer machineId;
    /**
     * 功能类型
     */
    private Integer functionType;
    /**
     * 功能名称
     */
    private String functionName;
    /**
     * 功能开关
     */
    private Integer functionValue;
    /**
     * 功能关联的执行模型
     * 管理端  com.tbit.uqbike.constant.enums.MachineFunctionModeEnum
     */
    private Integer functionMode;
    /**
     * 修改时间
     */
    private Date updateTime;

    private String machineNO;

    public Integer getMachineId() {
        return machineId;
    }

    public void setMachineId(Integer machineId) {
        this.machineId = machineId;
    }

    public Integer getFunctionType() {
        return functionType;
    }

    public void setFunctionType(Integer functionType) {
        this.functionType = functionType;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    public Integer getFunctionValue() {
        return functionValue;
    }

    public void setFunctionValue(Integer functionValue) {
        this.functionValue = functionValue;
    }

    public Integer getFunctionMode() {
        return functionMode;
    }

    public void setFunctionMode(Integer functionMode) {
        this.functionMode = functionMode;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getMachineNO() {
        return machineNO;
    }

    public void setMachineNO(String machineNO) {
        this.machineNO = machineNO;
    }

    @Override
    public String toString() {
        return "MachineFunction{" +
                "machineId=" + machineId +
                ", functionType=" + functionType +
                ", functionName=" + functionName +
                ", functionValue=" + functionValue +
                ", updateTime=" + updateTime +
                '}';
    }
}
